import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 1.3
import QtQuick.Dialogs 1.2

Window {
    id: root
    visible: true
    width: 602
    height: 480
    title: qsTr("City UI")

    TableView {
        id: view
        anchors.fill: parent
        TableViewColumn {
            role: 'city'
            title: "City"
            width: 120
        }
        TableViewColumn {
            role: 'country'
            title: "Country"
            width: 120
        }
        TableViewColumn {
            role: 'area'
            title: "Area"
            width: 120
        }
        TableViewColumn {
            role: 'population'
            title: "Population"
            width: 120
        }
        TableViewColumn {
            role: 'flag'
            title: "Flag"
            width: 120
        }

    }
}
